﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;

namespace VisionCore
{
    public class PRM_StripInfo
    {
        [DisplayName("01.基板总行数"), Description("基板行数(单位:个)")]
        public double Row { get; set; } = 1;

        [DisplayName("01.基板总列数"), Description("基板列数(单位:个)")]
        public double Col { get; set; } = 1;

        [DisplayName("01.基板总长度"), Description("基板总长度(单位:mm)")]
        public double StripLength { get; set; } = 1;

        [DisplayName("01.基板总宽度"), Description("基板总宽度(单位:mm)")]
        public double StripWidth { get; set; } = 1;

        [DisplayName("01.晶粒参数"), Description("晶粒长度(单位:mm)")]
        public PRM_DieInfo Die { get; set; } =new PRM_DieInfo();

        [DisplayName("04.晶粒CodeX基准点"), Description("第一行第一列距右边缘[锡球面朝上](单位:mm))")]
        public double CodeBasePos_X { get; set; } = 0;

        [DisplayName("05.晶粒CodeY基准点"), Description("第一行第一列距右上角[锡球面朝上](单位:mm))")]
        public double CodeBasePos_Y { get; set; } = 0;

        [DisplayName("06.晶粒Code行间距"), Description("第一行至第二行距离(单位:mm))")]
        public double RowGap { get; set; } = 0;
        [DisplayName("06.晶粒Code列间距"), Description("第一列至第二列距离(单位:mm))")]
        public double ColGap { get; set; } = 0;

        [DisplayName("06.晶粒Code列间距"), Description("第一列至第二列距离(单位:mm))")]
        public string SubstrateId { get; set; } = "";


        public override string ToString()
        {
            return "...";
        }
    }



           //<BinDefinition BinCode = "0000"   BinDescription="Good" BinQuality="Pass" xmlns="" />
           // <BinDefinition BinCode = "0011," BinDescription="Empty" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0012," BinDescription="BadUnit" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0013," BinDescription="Unknown" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0014," BinDescription="BadAngle" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0015," BinDescription="InkDot" BinQuality="Fail" xmlns="" />
           // <B inDefinition BinCode = "0016," BinDescription="Crack" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0017," BinDescription="Unknown" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0018," BinDescription="Defects" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0019," BinDescription="BadOffset" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0020," BinDescription="PinMiss" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0021," BinDescription="BadPinThickness" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0022," BinDescription="BadPinSpace" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0023," BinDescription="BadFramework" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0024," BinDescription="DroppdeDie" BinQuality="Fail" xmlns="" />
           // <BinDefinition BinCode = "0025," BinDescription="Dispensing" BinQuality="Fail" xmlns="" />

      


    public class PRM_WaferInfo
    {

    }

    public enum WfSize : ushort
    {
        Inch_8 = 0,
        Inch_12 = 1,

        Sparce
    }

    public enum NotchDir : ushort
    {
        Top = 0,
        Left = 1,
        Right = 2,
        Bottom = 3,
    }

    public enum WaferType
    {
        BeforeCut,
        AfterCut
    }
}
